SurveyManagement

public class SurveyManagement extends BaseProduct implements Product

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public final static Unit cancelPendingInvites()
Link copied to clipboard
public final static Unit checkIfEligibleForSurvey()

Check to see if the user is eligible for a survey. If the user meets trigger criteria and are in the sampling pool, the invitation will be presented. Implementers must explicitly check for eligibility (the SDK will not do this automatically).

Link copied to clipboard
public Unit completeProductInitialization(Application application, IConfiguration oldConfig, IConfiguration newConfig)
Link copied to clipboard
public final static Unit customInviteAccepted()

Tells the SDK that a custom invite was accepted. You should call this method whenever a user accepts a custom invite that you've presented.

Link copied to clipboard
public final static Unit customInviteDeclined()

Tells the SDK that a custom invite was declined. You should call this method whenever a user declines a custom invite that you've presented.

Link copied to clipboard
public final static Map<ContactType, String> getAllContactDetails()

Check all contact details

Link copied to clipboard
public final static String getContactDetails(ContactType contactType)

Check the contact details for the given contact type stored in the SDK

Link copied to clipboard
Link copied to clipboard
public final static Integer getPageViews()

The number of pages counted by the Verint SDK.

Link copied to clipboard
public final static ContactType getPreferredContactType()

Get the preferred contact type

Link copied to clipboard
public final static Unit incrementPageViews()

Manually increment the number of pages counted by the Verint SDK. This can be useful where the user would consider a new page to have been shown, but the activity has not been changed, e.g. when using full screen fragments

Link copied to clipboard

Increment the significant event count for a given key.

Link copied to clipboard
Link copied to clipboard
public Unit logFeatures(Application application, IConfiguration configuration)
Link copied to clipboard
public Boolean prepareProduct(Application application, IConfiguration configuration)
Link copied to clipboard
public final static Unit refreshPendingInvites()
Link copied to clipboard
Link copied to clipboard
public final static Unit resetSignificantEventCount(String key)

Resets the significant event count for a given key.

Link copied to clipboard
public final static Unit resetSignificantEvents()

Resets all significant events.

Link copied to clipboard
public final static Unit setContactDetails(ContactType contactType, String contactDetails)

Add contact details for a particular type for use in the CONTACT notification method

Link copied to clipboard
public final static Unit setInviteListener(BaseInviteListener inviteListener)

Set the invite listener

Link copied to clipboard
public final static Unit setPreferredContactType(ContactType contactType)

Set a preferred contact type

Link copied to clipboard
public final static Unit setSignificantEventCount(String key, Integer value)

Sets the significant event count to a specific value for a given key.

Link copied to clipboard
public final static Unit showInviteForName(String name)

Programmatically present the invitation for a given survey name

Link copied to clipboard
public final static Unit showSurveyForName(String name)

Programmatically present the survey for a given survey name

Link copied to clipboard
public Unit stopProduct()
Link copied to clipboard